<form class="ui large form segment">
    <h3 class="ui header">Add a Link</h3>
    <div class="form-group">
        <label for="title">Title:</label>
        <input class="form-control" name="title" #newtitle>
    </div>
    <div class="form-group">
        <label for="link">Link:</label>
        <input class="form-control" name="link" #newlink>
    </div>
    <button (click)="addArticle(newtitle, newlink)" class="btn btn-default">Submit link </button>
</form>
<div class="ui grid posts">
    <guide-sample-reddit-article *ngFor="let article of sortedArticles()" [article]="article"></guide-sample-reddit-article>
</div>